#pragma once

#include <wlr/types/wlr_xdg_decoration_v1.h>
#include "server.h"

typedef struct Xdg_decoration
{
    Server *server;
    struct wlr_xdg_decoration_manager_v1 *xdg_deco_mgr;
    struct wl_listener xdg_toplevel_decoration;
} Xdg_decoration;

Xdg_decoration *xdg_decortaion_create(Server* server);
void xdg_decoration_destroy(Xdg_decoration* xdgdeco);
